<template>
  <div class="loginBox">
    <button type="button" class="but" @click="closeBox">
      <p class="but-font">登录开启更多功能</p>
      <div class="but-bjtp"></div>
    </button>
    <button type="button" class="but b-pink" v-if="isYes">
      <p class="but-font">支持一下？</p>
    </button>
  </div>
</template>

<script setup>
import {onMounted, ref, watch} from "vue";
import API from "@/api/AxiosConfig";
import {useCookies} from "@vueuse/integrations/useCookies";
import {useStore} from "vuex";

const store = useStore()
const cookie = useCookies()
const userList = ref({
  userName:'',
  userPassWord:''
})
const loginBox = ref(false)
const passWordType = ref(null)
const passWord = ref(false)
const passWord2 = ref(true)
const isYes = ref(false)
const box = ref(false)
const isToken = ref(false)

onMounted(() => {

})

</script>

<style lang="less" scoped>
input::-ms-clear, input::-ms-reveal {
  display: none;
}
.BZDQSMMZ{
  display: flex;
  justify-content: center;
  padding: 35px 0 ;
}
.loginButton{
  background: #00aeec;
  border-radius: 6px;
  outline: none;
  border: none;
  width: 45%;
  height: 45px;
  color: #FFFFFF;
  opacity: 0.5;
  cursor: not-allowed;
}
.s{
  width: 1px;
  height: 50px;
  background-color: #e3e5e7;
}
.loginName{
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
  flex-wrap: wrap;
  align-content: center;
}
.loginNameSpan{
  font-size: 25px;
  margin: 6px 25px;
  cursor: pointer;
}
.x-lg{
  position: absolute;
  right: 20px;
  top: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.eye{
  position: absolute;
  right: 15px;
  top: 30%;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.inputBox{
  display: flex;
  position: relative;
}
.inputSpan{
  padding: 15px 5px 15px 20px;
}
.fromBox{
  display: flex;
  flex-direction: column;
  border: 1px solid #e3e5e7;
  border-radius: 8px;
  overflow: hidden;
  width: 70%;
  flex-shrink: 0;
}
.zw{
  width: 100%;
  height: 1px;
  background-color: #e3e5e7;
}
.loginInput{
  outline: none;
  padding: 5px 40px 5px 15px;
  border-radius: 4px;
  border: none;
  //width: 100%;
  height: 40px;
  flex: 1;
  font-size: 16px;
}
.loginBoxWaike{
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  overflow: hidden;
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  align-content: center;
}
.loginBoxs{
  width: 920px;
  height: 450px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  background-color: #fff;
  position: relative;
}
.boxLeft{
  background-color: deeppink;
  flex: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
}
.boxRight{
  flex: 3;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: column;
}
.fontHt{
  font-family:黑体;
  font-weight: bold;
}
.activeButton{
  opacity: 1;
  cursor: pointer;
}
.active{
  color: #4fa5d9;
  cursor: not-allowed;
}
.but{
  font-weight: 600;
  background-color: #00a1d6;
  border: none;
  padding: 15px 15px;
  font-size: 20px;
  border-radius: 8px;
  width: 100%;
  position: relative;
}
.b-pink{
  background-color: #fb7299;
}
.but-bjtp{
  width: 100px;
  height:90px;
  position: absolute;
  //background-image: url(~@/assets/img/bilbiltp/2i@.png);
  background-size: 90%;
  background-repeat: no-repeat;
  left: -10px;
  bottom: 0;
}
.but-font{
  color: white;
  font-family: "黑体";
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  margin: 0;
  position: relative;
}
</style>
